home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 1
/
Gold Medal Software Volume 1 (Gold Medal) (1994).iso
/
menuts
/
automenu.arj
/
DOS.MDF
< prev
next >
Wrap
Text File
|
1993-09-10
|
6KB
|
206 lines
...............................................................................
.Automenu DOS Menu Example
.By Marshall W. Magee
.Updated last on 07/09/90
...............................................................................
%AUTOMENU(R) Simple DOS Menu
.................................................
*Perform DOS Check Disk (CHKDSK)
?Print information about disk
>Enter Drive you wish to do a Check Disk of:
> For Example: Enter 'A:' to check drive A:
>
<
>
>Now Performing a CHECK DISK of Drive -> %1
>
>
=CHKDSK %1
.................................................
*Print Directory Listing to Screen
?List filenames on Disk to the Console
>Select Drive you wish to see the Directory of:
<A:\,B:\,C:\,D:\
>
>Type the directory to display.
<
>Select Directory command option:
>
> /W This option prints filenames across screen
> /P This option will pause when screen fills
> /W/P This option is a combination of the above two options
>
</W,/P,/W/P
>
>Now Listing Files on Drive -> %1 With Option -> %2
=DIR %1%2 %3
.................................................
*Execute ANY Valid DOS Command
>Enter any DOS Command and Press Return (ESC to return to Menu)
<
>........... Now Executing >> %1
>
>
>
=%1
.................................................
*Select a DOS Command
?Pick From A List Of DOS Commands to be Executed
>Choose any of the DOS Commands below and Press Return (ESC to return to Menu)
>
<DIR,CD,PATH,CHKDSK,VER,SET,TIME,DATE
>
>.............Now Executing >> %1
=%1
.................................................
*Print File
?Print the contents of file(s) to LPT1
>Type the file name and directory to print.
>If you have multiple files to print type them in line by line
>(ex. c:\automenu\auto.bat)
<
<
<
<
<
<
<
<
+print %1 %2 %3 %4 %5 %6 %7 %8
+auto
*Return to Main Menu
?Will Exit to Main Menu
@automenu.MDF
.................................................
*Return to Main (custom) Menu
?menu.mdf
@menu.mdf
%AUTOMENU(R) Common DOS Functions
.................................................
*Copy a file to another disk drive
?Copy a file
>Enter FILENAME to be copied (Press ESC to Quit)
> For Example: TEST.DAT
> C:SAM.*
<
>Select which DRIVE to copy it to:
<A:,B:,C:,D:
>
>Now copying file %1 TO %2
-COPY %1 %2
.................................................
*Move a File to Another Disk Drive
?Move One or More Files
>This option will copy files to a new location and erase old files
>
>
>
>Enter filespec to be moved (Press ESC to Quit)
> For Example: TEST.DAT or C:TEST.DAT
> or: *.DOC or B:*.TXT
>
<
>Select which DRIVE to move TO:
<A:,B:,C:,D:,E:
>
>Now moving file(s) %1 TO %2
!COPY %1 %2 > NUL
!DEL %1
.................................................
*Delete a File
?Erase a file (Password = "OK")
^OK
>Enter Filename to be ERASED (Press ESC to Quit)
> For Example: TEST.DAT or C:TEST.DAT
>
<
+ERASE %1
+ECHO FILE %1 Has Been Erased - To Return to Menu,
+PAUSE
+AUTO DOS.MDF
.................................................
*Rename a File
?Change the Name of a File
>Enter OLD FILENAME to be Renamed (Press ESC to Quit)
> For Example: TEST.DAT or D:TEST.DAT
>
<
>Enter NEW Filename - Without Drive specified.
>
<
+ECHO OFF
+CLS
+REN %1 %2 > NUL
+ECHO Old File %1 Renamed to %2
+ECHO To Return to Menu,
+PAUSE
+AUTO DOS.MDF
.................................................
*Format a Floppy Diskette in Drive B: P/W = "BOB"
?Format disk in Drive B: using "FORMAT B:"
^BOB
!FORMAT B:
!cd\automenu
....................................................
*Format Boot Disk in Drive B: Password = "BOB"
?Format Disk in Drive B: Using "FORMAT B:/S/V"
^BOB
.FORMAT B:/S/V
=ECHO FORMAT Example is disabled, Modify DOS.MDF to Activate
.................................................
*Return to Main Menu
?Will Exit to the Main Menu
@automenu.MDF
.................................................
*Return to Main (custom) Menu
?menu.mdf
@menu.mdf
%AUTOMENU(R) DOS Backup Menu
.................................................
*Format A Diskette in Drive A:
?Prepare a Disk in Drive A:
=ECHO FORMAT Example is disabled, Modify DOS.MDF to Activate
.FORMAT A:
.................................................
*Backup of Disk
?Perform Backup of ALL Files in selected directory
>This command will backup all all files without removing any info on the disk.
>Select the drive letter to use.
<c:\, d:\
>Type the directory to use. (automenu, nc)
<
>Select the drive letter to backup to.
<A:, B:
>Choose any of the extensions below to type in (/s /m /a) Use next line if needed
>/S Backs up subdirectories, /M Backs up files that changed since the last backup
>/A Dosn't remove any files from disk during backup, /F:size size in Mb
<
+backup %1%2\*.* c: %4 /L:c:\catalog\%2.cat
>
+mkdir b:\%2
+attrib -r c:\*.001
+copy c:\*.001 b:\%2
+copy c:\catalog\%2.cat b:\%2
+c:
+cd\automenu
+auto
*Update Backup
?Perform backup of new files since last backup
>Select the drive to use.
<c:\, d:\
>Type the directory to use. (automenu, nc)
<
>Type the drive letter to backup to.
<A:, B:
>Would you like no files to be removed from the disk while backup (/a)
</a,
!BACKUP %1%2\ %3 /S/M
*Return to Main Menu
?Will Exit to Main Menu
@automenu.MDF
.................................................
*Return to Main (custom) Menu
?menu.mdf
@menu.mdf
#END OF DOS.MDF